package com.tju320.elm.dao;

import java.util.List;
import com.tju320.elm.po.Business;

public interface BusinessDao {
	
	public List<Business> listBusiness(String businessName,String businessAddress);
	
	public int saveBusiness(String businessName);
	
	public int removeBusiness(int businessId);
	
	public Business getBusinessByIdByPass(Integer businessId,String password);
	public Business getBusinessById(Integer businessId);
	public int updateBusiness(Business business);
	public int updateBusinessByPassword(Integer businessId,String password);

}
